import routes from './routes'
import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter);

const router = new VueRouter({
    // 记得history用引号引起来！
    mode: 'history',
    routes: routes
})

export default router